package com.cvo.scrumtoolkit.client.entities;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

public class Sprint implements Serializable {
	private Integer sprintNummer;
	private List<BacklogItem> BacklogItems;
	
	public Sprint (Integer nummer){
		this.sprintNummer = nummer;
		setBacklogItems(new LinkedList<BacklogItem>());
	}

	public Integer getSprintNummer() {
		return sprintNummer;
	}

	public void addBacklogItem(BacklogItem backlogItem) {
		BacklogItems.add(backlogItem);
		
	}

	public List<BacklogItem> getBacklogItems() {
		return BacklogItems;
	}

	public void setBacklogItems(List<BacklogItem> backlogItems) {
		BacklogItems = backlogItems;
	}

	

	/*/public void setSprintNummer(Integer sprintNummer) {
		this.sprintNummer = sprintNummer;
	}*/
}
